package com.weather.ui.mvp;

import com.weather.net.NetRespone;

import java.util.Map;

/**
 * Created by sunshine on 2017/3/7.
 */

public interface Constant {
    public interface Model{
        void getMinuteNew(Map<String,String> map, NetRespone respone);
        void getAppIndexAll(NetRespone respone);
        void getAccurealFeel(NetRespone respone);
        void getYinpin(NetRespone respone);
        void getKeywordNew(NetRespone respone);
        void downYinpin(String url,NetRespone respone);
    }
    public interface Presenter{
        void getMinuteNew(Map<String,String> map);
        void getAppIndexAll();
        void getAccurealFeel();
        void getYinpin();
        void getKeywordNew();
        void downYinpin(String url);
    }
    public interface View{
        void showMinuteNew(Object result);
        void showAppIndexAll(Object result);
        void showAccurealFeel(Object result);
        void showYinpin(Object result);
        void showKeywordNew(Object result);
        void setIsReady(boolean isReady);
    }
}
